package com.pilot.game.repository;

import com.pilot.game.domain.Plan;
import org.springframework.stereotype.Repository;

import org.springframework.data.jpa.repository.*;

import java.util.List;


/**
 * Spring Data JPA repository for the Plan entity.
 */
@SuppressWarnings("unused")
@Repository
public interface PlanRepository extends JpaRepository<Plan, Long> {

    @Query("select u from Plan u where u.name like %?1%")
    List<Plan> findByName(String name);
}
